package com.zh.autoconfigure;


import com.zh.properties.IDCardProperties;
import com.zh.template.IDCardTemplate;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

// 审核认证材料

// 标记配置类
@Configuration
// 导入配置
@EnableConfigurationProperties(IDCardProperties.class)
public class ExamineAutoConfiguration {

    @Bean
    public IDCardTemplate idCardTemplate(IDCardProperties idCardProperties){
        return new IDCardTemplate(idCardProperties);
    }

}
